#!/bin/bash 
 ps aux | grep php-fpm | grep root | grep -v grep | awk '{print $2}' | xargs kill 
